package cn.itcast.service.impl;

import cn.itcast.dao.MobileOrderSettingDao;
import cn.itcast.pojo.OrderSetting;
import cn.itcast.service.MobileOrderSettingService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

@Service
public class MobileOrderSettingServiceImpl implements MobileOrderSettingService {
    @Autowired
    private MobileOrderSettingDao mobileOrderSettingDao;

    @Override
    public OrderSetting findByOrderDate(Date orderDate) {
        return this.mobileOrderSettingDao.findByOrderDate(orderDate);
    }


}
